import { http } from "@/utils/fetch";

/**
 * 获取验证码图片
 * @returns 验证码图片的 Base64 数据
 */
export const getCaptchaImage = async () => {
  return await http("GET", `/auth/genVerifyCode?timestamp=${Date.now()}`);
};
